import React , { Component } from 'react';
 import './workshop-mgt.css';
 import {Switch,Route} from 'react-router-dom';
 import WorkshopMgt from './workshop-mgt';
 import WorkshopUserMgt from './workshop-user-mgt';

 class WorkshopAdmin extends Component {
   render() {
     return (
       <Switch>
         <Route exact path="/workshop-mgt" component={WorkshopMgt}></Route>
         <Route path="/workshop-mgt/showUserMgt" component={WorkshopUserMgt}></Route>
       </Switch>
    )
   }
 }

 export default WorkshopAdmin; 